package com.zhyl.demo.mapper;

import com.zhyl.demo.entity.Prescription;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author yang3
 */
@Mapper
public interface PrescriptionMapper {
    /**
     * 新增药方
     * @param prescription
     * @return
     */
    Integer addPrescription(Prescription prescription);

    /**
     * 得到药方单详情
     * @param prescriptionId
     * @return
     */
    Prescription getPrescriptionDetail(Integer prescriptionId);
}
